package cn.kailangtu.commonevents.eventEntity;

public class WriteDataToMachineEvent {
    private int address;
    private int storage;
    private int value;


    public WriteDataToMachineEvent(int address,int storage,int value)
    {
        this.address = address;
        this.storage = storage;
        this.value = value;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public int getStorage() {
        return storage;
    }

    public void setStorage(int storage) {
        this.storage = storage;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String toString()
    {
        return "ADDRESS:"+address+" |STORAGE:"+storage+" |VALUE:"+value;
    }
}
